#pragma once
#include "Markup.h"
class CConfigure
{
public:
	CConfigure(void);
	~CConfigure(void);
	
public:
	
	static CConfigure* GetInstance();

	CString m_XMLFileName;
	CString m_CSVFileName;

	int m_CamerIndex;
	int m_matchNum;
	int m_checkSaveResult;
	int m_checkSavePic;
	CString m_savePathStr;
	int m_open3DLive;
	int m_idcardCheck;
	int m_AddHeaderPic;
	CString m_appTitle;

	int m_ResoultWidth_2d;
	int m_ResoultHeight_2d;
	
	int m_ResoultWidth_3d;
	int m_ResoultHeight_3d;


	CString m_noIdCardTip;
	int m_backgroundR;
	int m_backgroundG;
	int m_backgroundB;

	void ReadXMLFile();
	void CreateXML();
	void AnalyzeXML();
	void ModifyXML();
	

};

